home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-09-17 | 1.6 KB | 50 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: FWWindow.k
- // Release Version: $ ODF 2 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef FWWINDOW_K
- #define FWWINDOW_K
-
- //========================================================================================
- // Window style constants
- //========================================================================================
-
- #define FW_kStandardWindow 0x00000001
- #define FW_kOverlappedWindow 0x00000002
- #define FW_kFloatingWindow 0x00000004
- #define FW_kModelessDialog 0x00000008
- #define FW_kModalDialog 0x00000010
-
- #define FW_kSystemDialog 0x00000020
- #define FW_kResizeable 0x00000040
- #define FW_kHasCaption 0x00000080
- #define FW_kHasCloseBox 0x00000100
- #define FW_kHasMaximizeBox 0x00000200
- #define FW_kHasMinimizeBox 0x00000400
-
- #define FW_kNoStyleWindow 0
- #define FW_kMaximized 0x00001000
- #define FW_kMinimized 0x00002000
-
- #define FW_kStandardDialogPosition 0x00010000
-
- // Standard document window
-
- #ifdef FW_BUILD_MAC
- #define FW_kDocumentWindow FW_kStandardWindow | FW_kResizeable | FW_kHasCloseBox | FW_kHasMaximizeBox | FW_kHasMinimizeBox
- #else
- // Note - OpenDoc on Windows creates the Shell window for us so our window is a child
- // of the shell window. The result is that we don't need any of the adornment that go on a
- // standard overlapped window.
- #define FW_kDocumentWindow FW_kStandardWindow
- #endif
-
- typedef unsigned long FW_WindowStyle;
-
- #endif
-